#include "AIRoomDataTypes.h"
#include "GraphNode.h"

RoomDoors::RoomDoors()
{
	m_doorData[NORTH] = DoorData(false, D3DXVECTOR3(0.0f, 0.0f, 0.0f));
	m_doorData[EAST] = DoorData(false, D3DXVECTOR3(0.0f, 0.0f, 0.0f));
	m_doorData[SOUTH] = DoorData(false, D3DXVECTOR3(0.0f, 0.0f, 0.0f));
	m_doorData[WEST] = DoorData(false, D3DXVECTOR3(0.0f, 0.0f, 0.0f));
}

void RoomDoors::SetDoorData(RoomPoint whichDoor, DoorData doorData)
{
	m_doorData[whichDoor] = doorData;
}

DoorData& RoomDoors::GetDoorData(RoomPoint whichDoor)
{
	return m_doorData[whichDoor];
}